package com.ganbo.redpacket.model.requset;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 抢红包
 * Created by gan on 2020/1/12 21:49.
 */

@Data
public class RobReq {

    @NotNull(message = "当前用户id不能为空")
    private Integer userId;

    @NotBlank(message = "红包id不能为空")
    private String redId;

}
